package com.ck.ips.service.program;

import com.ck.common.model.ScreenCanvasMapping;
import com.ck.ips.model.vo.program.ScreenCanvasMappingVO;

import java.util.List;

/**
 * @author LinQiang
 * @version 1.0
 * @Description 分辨率与画布Service
 * @date 2019/4/29 14:24
 **/
public interface ScreenCanvasMappingService {
    /**
     * 根据屏幕分辨率查询
     *
     * @param screenWidth  屏幕分辨率宽
     * @param screenHeight 屏幕分辨率高
     * @return ScreenCanvasMapping
     */
    ScreenCanvasMapping selectByScreen(Integer screenWidth, Integer screenHeight);

    /**
     * 获取分辨率画布映射关系列表
     *
     * @return List
     */
    List<ScreenCanvasMappingVO> getMappingForConfig();
}